package edu.sctu.zhuyingzhi.month201505.day20150520.listTest;

import java.util.List;

/**
 * Created by user11 on 2015/5/17.
 */
public class Teacher {
    private int number;
    private String name;
    private String title;
    private String sex;
    private String lesson;
    List<Student> student;

    public Teacher(int number,String name,String title,String sex,String lesson,List<Student> student){
        this.lesson = lesson;
        this.number = number;
        this.name = name;
        this.sex = sex;
        this.title = title;
        this.student = student;
    }

    public int getNumber(){
        return number;
    }

    public String getName(){
        return name;
    }

    public String getTitle(){
        return title;
    }

    public String getSex(){
        return sex;
    }

    public String getLesson(){
        return lesson;
    }

    public List<Student> getStudent(){
        return student;
    }

//    @Override
//    public int compareTo(Teacher o) {
//        return this.(StringOne.valueOf(number)).compareTo(o.StringOne.valueOf(number));
//    }
}
